package com.jbm.jbmsupplier.util;

import java.io.Serializable;

/**
 * Created by root on 16-1-22.
 */
public class IAppVersion implements Serializable
{
    public IAppVersion ()
    {
        back = false;
        method = "";
        errorinfo = "";
    }

    public IAppVersion ( boolean back, String errorinfo )
    {
        this();

        this.back = back;
        this.errorinfo = errorinfo;
    }

    public IAppVersion ( String method, String app_code, int major_ver, int minor_ver, int revision_ver, int build )
    {
        this();

        this.method = method;
        this.app_code = app_code;
        this.major_ver = major_ver;
        this.minor_ver = minor_ver;
        this.revision_ver = revision_ver;
        this.build = build;
    }
    private static final long serialVersionUID = 2200001L;

    public boolean back;
    public String method;
    public String errorinfo;

    public String app_code;
    public int major_ver;
    public int minor_ver;
    public int revision_ver;
    public int build;
    public int milestone;
    public String app_url;
}
